package com.lori.netshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ParameterController {
	//后台主页面
	@RequestMapping("/")
	public String showIndex(){
		return "index";
	}
	//其他页面
	@RequestMapping("/{path}")
	public String dispatchjsp(@PathVariable String path){
		return path;
	}
}
